var checkType = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(value) {
    return typeof value;
} : function(value) {
    return value && "function" == typeof Symbol && value.constructor === Symbol && value !== Symbol.prototype ? "symbol" : typeof value;
};

Object.defineProperty(exports, "__esModule", {
    value: !0
});

var getType = "function" == typeof Symbol && "symbol" == checkType(Symbol.iterator) ? function(value) {
    return void 0 === value ? "undefined" : checkType(value);
} : function(value) {
    return value && "function" == typeof Symbol && value.constructor === Symbol && value !== Symbol.prototype ? "symbol" : void 0 === value ? "undefined" : checkType(value);
};

exports.isObj = function(value) {
    var valueType = void 0 === value ? "undefined" : getType(value);
    return null !== value && ("object" === valueType || "function" === valueType);
}, exports.isDef = function(value) {
    return null != value;
}, exports.isNumber = function(value) {
    return /^\d+$/.test(value);
}, exports.range = function(value, min, max) {
    return Math.min(Math.max(value, min), max);
};